package _2工具类;

import java.sql.SQLException;
import java.util.List;

public interface IWordDAO {
	// rlJ
	int insert(Word w) throws SQLException;

	int deleteById(int wordid, int userid) throws SQLException;

	int update(Word w) throws SQLException;

	List<Word> findById(int userid) throws SQLException;

	List<Word> findAll() throws SQLException;
}
